<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: Image Position Syntax - Inheritance</title>
  <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
  <link rel="help" href="http://www.w3.org/TR/css3-page/#img-fit-img-posn"/>
  <meta name="assert" content="The 'image-position' property is inherited"/>
  <style type="text/css"><![CDATA[
  	body {image-position: 100% 100%;}
  	img {
		height: 200px;
		width: 200px;
		border: 2pt solid black;
		margin-bottom: 10px;
		image-fit: contain;
	}
	img.defaultPosition {image-position: 50% 50%;}
  ]]></style>
 </head>
 <body>
 	<p>The first image below should be aligned to the bottom of its box. The second image should be centered within its box.</p>
	<div><img src="intrinsic-size.png" alt="FAIL: missing image" /></div>
	<div><img src="intrinsic-size.png" alt="FAIL: missing image" class="defaultPosition" /></div>
 </body>
 </html>